package com.mdd.admin.validate.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import javax.validation.constraints.*;

@Data
@ApiModel("还车记录创建参数")
public class ReturnCarRecordCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "operationType参数缺失")
    @ApiModelProperty(value = "还车类型;还车类型：1、到期还车 2、提前还车")
    private Integer operationType;

    @NotNull(message = "isAmountPayment参数缺失")
    @ApiModelProperty(value = "是否保留代扣")
    private String isAmountPayment;

    @NotNull(message = "damages参数缺失")
    @ApiModelProperty(value = "车辆损失费")
    private BigDecimal damages;

    @NotNull(message = "backOut参数缺失")
    @ApiModelProperty(value = "违约费")
    private BigDecimal backOut;

    @NotNull(message = "violationFines参数缺失")
    @ApiModelProperty(value = "违章罚款")
    private BigDecimal violationFines;

    @NotNull(message = "trucking参数缺失")
    @ApiModelProperty(value = "拖车费")
    private BigDecimal trucking;

    @NotNull(message = "valueAddedServices参数缺失")
    @ApiModelProperty(value = "增值服务费")
    private BigDecimal valueAddedServices;
}
